import axios from "axios";

function login(data) {
    // 登陆
    return axios({
        url: "/auth/login",
        method: "post",
        data
    });
}

export default {
    login
};
